<?php

namespace App\Models\Finance;

use App\Models\BaseModel;

/**
 * 支付中心
 *
 * Class Repair
 * @package App\Models\Finance
 */
class Pay extends BaseModel
{
    private $typeArr = ['音乐人', '代理'];
    private $statusArr = ['未处理', '已处理'];
    /**
     * The table associated with the model.
     *
     * @var string
     */
    public $table = 'pay';
    public $dates = [];
    /**
     * Indicates if the model should be timestamped.
     * @var bool
     */
    public $timestamps = false;

    public function getTypeAttribute($value)
    {
        return $this->typeArr[$value];
    }

    public function getStatusAttribute($value)
    {
        return $this->statusArr[$value];
    }

}
